﻿using GalaSoft.MvvmLight;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace ITim.Model.Login
{
    public class LoginModel:ViewModelBase
    {
        public UserModel UserModel { get; set; }
        private bool _qqLoginCheck;

        public bool QQLoginCheck
        {
            get { return _qqLoginCheck; }
            set
            {
                _qqLoginCheck = value;
                this.RaisePropertyChanged();
            }
        }

        private bool _weChatLoginCheck;

        public bool WeChatLoginCheck
        {
            get { return _weChatLoginCheck; }
            set
            {
                _weChatLoginCheck = value;
                this.RaisePropertyChanged();
            }
        }
                
        private ObservableCollection<UserModel> _userInfosRecord;

        public ObservableCollection<UserModel> UserInfosRecord
        {
            get { return _userInfosRecord; }
            set
            {
                _userInfosRecord = value;
                this.RaisePropertyChanged();
            }
        }


        private FrameworkElement _loginWayControl;

        public FrameworkElement LoginWayControl
        {
            get { return _loginWayControl; }
            set
            {
                _loginWayControl = value;
                this.RaisePropertyChanged();
            }
        }

    }
}
